package com.example.springboot.web.common.ex;

import lombok.Data;

/**
 * @author lei yu
 * @date 2024/05/20
 */
@Data
public class ServiceException extends RuntimeException{

    /**
     * 业务错误码
     */
    private Integer code;
    /**
     * 错误提示
     */
    private String message;
}
